package fang.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class LinkController {

    @RequestMapping("/link/test")
    public String link(Model model) {
        model.addAttribute("queryStudent", "/query/student");
        model.addAttribute("id", 1003);
        model.addAttribute("name", "心潮");
        return "link";
    }

    @RequestMapping("/i18n")
    public String i18n(Model model) {
        return "login";
    }
}
